package lumis.portal.webfilereplication;

/**
 * Abstract implementation for file replicators.
 * 
 * @version $Revision: 13093 $ $Date: 2011-05-28 18:40:18 -0300 (Sat, 28 May 2011) $
 * @since 6.0.0
 */
public abstract class AbstractFileReplicator implements IFileReplicator
{
	private WebFileReplication webFileReplication;

	public void initialize() throws FileReplicationException
	{
	}

	public void dispose() throws FileReplicationException
	{
	}

	public void setWebFileReplication(WebFileReplication replication)
	{
		this.webFileReplication = replication;
	}

	/**
	 * Returns the WebFileReplication with the information of the target
	 * repository.
	 * 
	 * @return the WebFileReplication with the information of the target
	 *         repository.
	 * @since 6.0.0
	 */
	public WebFileReplication getWebFileReplication()
	{
		return webFileReplication;
	}

}
